@import url('base.less');
.content{
    .video{
        line-height: 1;
        width: 100%;
        height: 0;
        padding-bottom: 56%;
        overflow: hidden;
        position: relative;
        .cover{
            position: absolute;
            width: 100%;
            //left: 0;
            //top: 0;
            //right: 0;
            //bottom: 0;
            z-index: 10;
            img{
                width: 100%;
            }
        }
        .control{
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%,-50%);
            z-index: 20;
            img{
                width: 1rem;
                height: 1rem;
            }
        }
        video{
            width: 100%;
            //height: 242px;
            object{
                img{
                    width: 100%;
                }
            }
        }
    }
    & .like{
        margin: 0 .3rem;
        .likeCount{
            height: 1rem;
            line-height: 1rem;
            i{
                .mixin-font-dpr(14px);
                display: inline-block;
                margin-right: 0.1rem;
            }
            span{
                vertical-align: bottom;
                .mixin-font-dpr(12px);
            }
        }
        .likeList{
            ul{
                overflow: hidden;
                width: 100%;
                height: .8rem;
                li{
                    float: left;
                    margin-right: .25rem;
                    img{
                        width: 0.6rem;
                    }
                }
                .shenglve{
                    float: right;
                    i{
                        .mixin-font-dpr(14px);
                    }
                }
            }
        }
        .line{
			width: 94%;
			margin: 0 auto;
			border-bottom: 1px dashed #c1c1c1;
			margin-bottom: .2rem;
		}
    }
}
//

.comment{
    padding: 0 0.4rem;
    background-color: #fff;
    .commentHeader{
        height: 0.9333333rem;
        line-height: 0.9333333rem;
        color: #fe8d47;
        border-bottom: 2px solid #dddbdc;
        i{
            .mixin-font-dpr();
        }
        span{
            .mixin-font-dpr(12px);
        }
    }
    .commentBody{
        padding-bottom: 0.42666667rem;
        border-bottom: 1px solid #dcdcdc;
        .commentEditor{
            padding-top: 0.29333333rem;
            .headerImg{
                width: 0.88rem;
                height: 0.88rem;
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            .weui-flex__item{
                padding-left: .12rem;
                .train{
                    .mixin-font-dpr(10px);
                }
                .time{
                    .mixin-font-dpr(8px);
                }
            }
            .likeInfo{
                width: 3rem;
                text-align: right;
                span{
                    // display: inline-block;
                    i{
                        .mixin-font-dpr(16px);
                    }
                    &:first-child{
                        vertical-align: middle;
                        margin-right: 10px;
                    }
                    &:nth-child(2){
                        vertical-align: middle;
                        margin-right: 10px;
                        //line-height: 50px;
                    }
                    &:last-child{
                        vertical-align: text-top;
                        display: inline-block;
                        margin-top: 0px;
                    }
                }
            }
        }
        .commentContent{
            padding-left: 1rem;
            p{
                .mixin-font-dpr(10px);
            }
            .commentImg{
                margin-top: 10px;
                img{
                    width: 6.12rem;
                }
            }
            .hidden{
                display: none;
            }
            .reply{
                height: 115px;
                overflow: hidden;
                margin-top: .24rem;
                background-color: #eeeced;
                position: relative;
                padding: 0 .16rem;
                &:after{
                    content: ' ';
                    width: 0;
                    height: 0;
                    border-left: 7px solid transparent;
                    border-right: 7px solid transparent;
                    border-bottom: 14px solid #eeeced;
                    position: absolute;
                    left: 10px;
                    top: -14px;
                }
                .subComment{
                    display: none;
                    &:first-child{
                        display: block;
                    }
                }
                .title{
                    color: #ff6500;
                    line-height: 2;
                }
                .text{
                    line-height: 1.5;
                    .mixin-font-dpr(10px);
                }
                .commentCount{
                    color: #fc7f3d;
                    line-height: 2;
                }
            }
        }
    }
    //无评论样式
    .NoComment{
        width: 50%;
        margin: 0 auto;
        img{
            width: 100%;
        }
    }
    .NoCommetText{
        text-align: center;
        .mixin-font-dpr(14px);
    }
}